home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / Filezilla Server / FileZilla_Server-0_9_41.exe / source / interface / UsersDlgGeneral.h < prev    next >
C/C++ Source or Header  |  2011-11-06  |  3KB  |  98 lines

  1. // FileZilla Server - a Windows ftp server
  2.  
  3. // Copyright (C) 2002-2004 - Tim Kosse <tim.kosse@gmx.de>
  4.  
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the GNU General Public License
  7. // as published by the Free Software Foundation; either version 2
  8. // of the License, or (at your option) any later version.
  9.  
  10. // This program is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. // GNU General Public License for more details.
  14.  
  15. // You should have received a copy of the GNU General Public License
  16. // along with this program; if not, write to the Free Software
  17. // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  18.  
  19. #if !defined(AFX_USERSDLGGENERAL_H__5348112C_F36E_42D1_B073_78272B897DDA__INCLUDED_)
  20. #define AFX_USERSDLGGENERAL_H__5348112C_F36E_42D1_B073_78272B897DDA__INCLUDED_
  21.  
  22. #if _MSC_VER > 1000
  23. #pragma once
  24. #endif // _MSC_VER > 1000
  25. // UsersDlg.h : Header-Datei
  26. //
  27.  
  28. #include "UsersDlg.h"
  29. #include "afxwin.h"
  30.  
  31. /////////////////////////////////////////////////////////////////////////////
  32. // Dialogfeld CUsersDlgGeneral 
  33. class CUsersDlgGeneral : public CSAPrefsSubDlg
  34. {
  35.     friend CUsersDlg;
  36. // Konstruktion
  37. public:
  38.     CUsersDlgGeneral(CUsersDlg* pOwner = NULL);   // Standardkonstruktor
  39.     ~CUsersDlgGeneral();
  40.  
  41.     BOOL DisplayUser(t_user *pUser);
  42.     BOOL SaveUser(t_user *pUser);
  43.  
  44. protected:
  45.     t_user *m_pUser;
  46.  
  47. // Dialogfelddaten
  48.     //{{AFX_DATA(CUsersDlgGeneral)
  49.     enum { IDD = IDD_USERS_GENERAL };
  50.     CEdit    m_cMaxConnCount;
  51.     CEdit    m_cIpLimit;
  52.     CButton    m_cMaxUsersBypass;
  53.     CButton    m_cNeedpass;
  54.     CComboBox    m_cGroup;
  55.     CEdit    m_cPass;
  56.     BOOL    m_bNeedpass;
  57.     CString    m_Pass;
  58.     int        m_nMaxUsersBypass;
  59.     CString    m_MaxConnCount;
  60.     CString    m_IpLimit;
  61.     CButton m_cEnabled;
  62.     int        m_nEnabled;
  63.     CButton m_cForceSsl;
  64.     int        m_nForceSsl;
  65.     //}}AFX_DATA
  66.  
  67.  
  68. // ▄berschreibungen
  69.     // Vom Klassen-Assistenten generierte virtuelle Funktionsⁿberschreibungen
  70.     //{{AFX_VIRTUAL(CUsersDlgGeneral)
  71.     protected:
  72.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV-Unterstⁿtzung
  73.     //}}AFX_VIRTUAL
  74.  
  75. // Implementierung
  76. protected:
  77.     CUsersDlg *m_pOwner;
  78.     CImageList m_imagelist;
  79.     void SetCtrlState();
  80.     CString Validate();
  81.  
  82.     // Generierte Nachrichtenzuordnungsfunktionen
  83.     //{{AFX_MSG(CUsersDlgGeneral)
  84.     virtual BOOL OnInitDialog();
  85.     afx_msg void OnNeedpass();
  86.     afx_msg void OnSelchangeGroup();
  87.     //}}AFX_MSG
  88.     DECLARE_MESSAGE_MAP()
  89. public:
  90.     CEdit m_cComments;
  91.     CString m_Comments;
  92. };
  93.  
  94. //{{AFX_INSERT_LOCATION}}
  95. // Microsoft Visual C++ fⁿgt unmittelbar vor der vorhergehenden Zeile zusΣtzliche Deklarationen ein.
  96.  
  97. #endif // AFX_USERSDLGGENERAL_H__5348112C_F36E_42D1_B073_78272B897DDA__INCLUDED_
  98.